package com.example.service;

import com.example.pojo.Country;
import com.example.pojo.CountryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CountryService {

    List<Country> findAll(CountryExample example);

    List<Country> findAll_enemy(CountryExample example);

    Country findOne(Integer id);

    int insert(Country country);

    Country selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Country country);

    int deleteByPrimaryKey(Integer id);

    List<Country> WithEnemyAttributeSelectLike(String countryName);

    List<Country> WithEnemyAttributeSelectLike1(String countryName, Integer enemyAttributeId);
}
